package top.bingoz.wanandroid.ui.adapter

import android.content.Context
import com.alibaba.android.vlayout.LayoutHelper
import com.alibaba.android.vlayout.layout.LinearLayoutHelper
import top.bingoz.wanandroid.R

class EmptyAdapter(context: Context) : BaseAdapter<Any>(context) {
    override fun getLayoutId(): Int {
        return R.layout.item_empty
    }

    override fun onCreateLayoutHelper(): LayoutHelper {
        val helper = LinearLayoutHelper()
        return helper
    }

    override fun getItemCount(): Int {
        return 1
    }

    override fun onBindViewHolder(holder: ViewHolder, position: Int) {
    }

}